[%WRAPPER Static/Interface/Page.htm
  title = "What's Hot"%]
      <table border="0" cellpadding="5" cellspacing="2" width="100%">
        <tr>
          <td><font class="location"><a href="[%system.SCRIPT_URL%]">Index</a> /</font></td>
        </tr>
      </table>
      <table border="0" cellpadding="1" cellspacing="1" width="100%" class="main-border">
        [%form.StartForm()%]
        <tr class="main-background">
          <td>
            <table border="0" cellpadding="1" cellspacing="0" width="100%">
              <tr>
                <td>
                  <table border="0" cellspacing="1" cellpadding="3" width="100%" class="row-border">
                    <tr class="header">
                      <td>
                        <table border="0" cellspacing="0" cellpadding="1" width="100%">
                          <tr>
                            <td width="2" nowrap></td>
                            <td width="100%"><font class="header">What's Hot</font></td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr>
                <td>
                  <table border="0" cellspacing="1" cellpadding="3" width="100%" class="row-border">
                    <tr class="body">
                      <td>
                        <table border="0" cellspacing="1" cellpadding="0" width="100%" class="table-border">
                          <tr>
                            <td>
                              <table border="0" cellspacing="1" cellpadding="6" width="100%" class="table">
                                <tr class="table-row">
                                  <td><font class="table-row">There are <b>[%totals.RESOURCES%]</b> hot resources which have at
                                    least [%general.WHAT_HOT_CUTOFF%] hits. <b>[%resources.size%]</b> of them are shown below:</font>
                                    
                                    <p>
                                    [%FOREACH resource = resources%]
                                      <table border="0" cellspacing="0" cellpadding="0" width="100%">
                                        <tr>
                                          <td width="20" nowrap></td>
                                          <td width="1" nowrap valign="top"><li></li></td>
                                        [%IF resource.IMAGE%]
                                          <td width="1" nowrap valign="top"><img border="0" src="[%resource.IMAGE%]"></td>
                                          <td width="5" nowrap></td>
                                        [%END%]
                                          <td valign="top"><font class="table-row"><a href="[%system.SCRIPT_URL%]?action=Jump&RID=[%resource.ID%]">[%resource.TITLE%]</a> (<a href="[%system.SCRIPT_URL%]?action=Detail&RID=[%resource.ID%]">More Info</a>)
                                            [%IF resource.NEW1%]<sup>new</sup>[%END%]
                                            [%IF resource.NEW2%]<sup>very new</sup>[%END%]
                                            [%IF resource.NEW3%]<sup>super new</sup>[%END%]
                                            [%IF resource.HOT1%]<sup>hot</sup>[%END%]
                                            [%IF resource.HOT2%]<sup>very hot</sup>[%END%]
                                            [%IF resource.HOT3%]<sup>super hot</sup>[%END%]
                                            [%IF resource.COOL1%]<sup>cool</sup>[%END%]
                                            [%IF resource.COOL2%]<sup>very cool</sup>[%END%]
                                            [%IF resource.COOL3%]<sup>super cool</sup>[%END%]
                                            [%IF resource.UPDATED%]<sup>updated</sup>[%END%]
                                            <br>
                                          [%IF resource.DESCRIPTION%]
                                            [%resource.DESCRIPTION%]<br>
                                          [%END%]
                                            <small>URL: [%resource.URL%] (Hits: [%resource.HITS%], <a href="[%system.SCRIPT_URL%]?action=Detail&RID=[%resource.ID%]">Rating</a>: [%resource.RATING%], <a href="[%system.SCRIPT_URL%]?action=Detail&RID=[%resource.ID%]">Reviews</a>: [%resource.REVIEWS%],
                                            [%IF resource.flags.DEAD_LINK%]
                                              Marked as Dead)<br>
                                            [%ELSE%]
                                              <a href="[%system.SCRIPT_URL%]?action=DeadLink&RID=[%resource.ID%]">Mark as Dead</a>)<br>
                                            [%END%]
                                              Created: [%resource.CREATE_DATE%] at [%resource.CREATE_TIME%], Updated: [%resource.UPDATE_DATE%] at [%resource.UPDATE_TIME%]<br>
                                              Category: <a href="[%system.SCRIPT_URL%]?action=Category&CID=[%resource.CATEGORY%]">[%resource.category.FULL_TITLE%]</a></small>
                                            </font></td>
                                        </tr>
                                      </table>
                                    [%END%]
                                    <p>
                                  </td>
                                </tr>
                              </table>
                            </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr>
                <td>
                  <table border="0" cellspacing="1" cellpadding="3" width="100%" class="row-border">
                    <tr class="bottombar">
                      <td><font class="bottombar"></font></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
      [%form.EndForm()%]
      </table>
[%END%]